home *** CD-ROM | disk | FTP | other *** search
- ; Installer Script for Valhalla by WALDo/tENSION
- ;
-
- (set destname
- (askdir
- (prompt "Select or create a directory to install Valhalla to.")
- (help @askdir-help)
- (default "SYS:")
- )
- )
-
- (complete 0)
-
- (copyfiles
- (prompt "Copying Files From Disc 1.")
- (help @copyfiles-help)
- (source "valhalla:")
- (dest destname)
- (all)
- )
-
- (complete 16)
-
- (copyfiles
- (prompt "Copying Files From Disc 2.")
- (help @copyfiles-help)
- (source "datadisk:")
- (dest destname)
- (all)
- )
-
- (complete 32)
-
- (copyfiles
- (prompt "Copying Files From Disc 3.")
- (help @copyfiles-help)
- (source "level1:")
- (dest destname)
- (all)
- )
-
- (complete 48)
-
- (copyfiles
- (prompt "Copying Files From Disc 4.")
- (help @copyfiles-help)
- (source "level2:")
- (dest destname)
- (all)
- )
-
- (complete 64)
-
- (copyfiles
- (prompt "Copying Files From Disc 5.")
- (help @copyfiles-help)
- (source "level3:")
- (dest destname)
- (all)
- )
-
- (complete 80)
-
- (copyfiles
- (prompt "Copying Files From Disc 6.")
- (help @copyfiles-help)
- (source "level4:")
- (dest destname)
- (all)
- )
-
- (complete 96)
-
- (textfile
- (prompt "Creating Valhalla Script...")
- (help "This creates a file called c:Valhalla")
- (dest "c:Valhalla")
- (append "cd " destname)
- (append "\n")
- (append "assign valhalla: " destname"/")
- (append "\n")
- (append "assign datadisk: " destname"/")
- (append "\n")
- (append "assign level1: " destname"/")
- (append "\n")
- (append "assign level2: " destname"/")
- (append "\n")
- (append "assign level3: " destname"/")
- (append "\n")
- (append "assign level4: " destname"/")
- (append "\n")
- (append "C/Vulcan >NIL: BeforeTheWar")
- (append "\n")
- (append "C/Software >NIL:")
-
- )
-
- (complete 100)
-
- (run "c:protect c:Valhalla swred")
-
- (message "The Installer Created A File In C: Called VALHALLA."
- " To Run The Game Just Open A Shell Window And Type VALHALLA,"
- " And The Game Will Run!")
-
- (exit)
-